﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Home.WebUI.Areas.Admin.Models.QuoteViewModel
{
    public class CreateViewModel
    {
        /// <summary>
        /// 分类父Id
        /// </summary>
        [DisplayName("分类父Id")]
        public int? ParentId { set; get; }
        /// <summary>
        /// 分类子Id
        /// </summary>
        [DisplayName("分类父Id")]
        public int? ChildId { set; get; }
        /// <summary>
        /// 品牌Id
        /// </summary>
        [DisplayName("品牌Id")]
        [Required(ErrorMessage = "品牌不能为空")]
        public int? BrandId { set; get; }
    }
}